<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8" import="java.util.*" %>
<%
	String path = request.getContextPath();
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="<%=path%>/css/base.css">
<link rel="stylesheet" type="text/css" href="<%=path%>/css/layout.css">
<script src="<%=path%>/js/jquery-3.2.1.min.js"></script>
<title>驾易喵租车系统_+1s小组</title>
<style type="text/css">
input::-webkit-input-placeholder{
    color: white;
    opacity:1;
}
</style>
</head>
<body style="background: url('img/bgimg.jpg');">
	<form method="post">
		<div class="logframe">
			<h1>Sign In</h1>
			<hr />
			<input placeholder="username" id="bstg_uname" > 
			<input placeholder="password" type="password" value="password" id="bstg_pwd"> 
			<input type="submit" value="Log In" class="logbtn">
		</div>
	</form>
</body>
<script>
	$("#bstg_uname").click(function() {
		if ($("#bstg_uname").val() == "username") {
			$("#bstg_uname").val("");
		}
	})
	$(".logbtn").click(function() {
		if ($("#bstg_uname").val().length==0) {
			alert("1234");
		}else {
			window.location.href="backstagePage.jsp";
		}
	})
	
	
	 
</script>
</html>